|
In computer programming, a local variable that is assigned a value but is not read by any subsequent instruction is referred to as a dead store. Dead stores waste processor time and memory, and may be detected through the use of static program analysis. ==Examples== Java example of a dead store: In the above code an ArrayList JavaScript example of a dead store: "The code in the loop repeatedly overwrites the same variable, so it can be reduced to only one call." 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Dead store」の詳細全文を読む スポンサード リンク
|